import {usesmenutore} from '@/stores/index'
import {usestore} from '@/stores/user/counter'

export default function () {
    let {token,tokenExpired}=localStorage
    let data=+new Date()
    if(!token||tokenExpired<=data){
    //   return 
    return Promise.resolve()
    }
    let ff=usestore()
    let InternalMethods=usesmenutore()
    // return gbsj.methodEncapsulation()
    return Promise.all([InternalMethods.axiosaa(),ff.ff()])
    // return gbsj.axiosaa()
}